module.exports = [
  // 分类数据
  {
    url: "/vue-admin-template/course/sort",
    type: "get",
    response: (_) => {
      return {
        code: 20000,
        data: {
          total: 7,
          sort_list: [
            { 
              sort_id: 1,
              sort_name: "基础知识",
              sort_desc: "首先，学生需要了解商业流程自动化的定义，即利用数字化技术，对完成一种特别功能或工作流的活动、服务进行自动化处理，以简化组织的运营方式。此外，学生还应了解商业流程自动化的目标和价值，如提高工作效率、减少人工错误、降低成本等。",
              name: "祥瑞家居",
              background: "是一家专生产...",
              market_analysis: "在当前的市场环境下...",
              competitive_edge: "作为一家专注与...",
              product_strategy: "针对当前的市场环境...",
              case_analysis: "通过对公司案例流程进行...",
            },
            {
              sort_id: 2,
              sort_name: "流程",
              sort_desc: "商业流程自动化实践教学平台理论教学模块中的流程，主要是围绕教授学生如何理解、分析、设计、实施和管理商业流程自动化展开的。",
              name: "祥瑞家居",
              background: "是一家专生产...",
              market_analysis: "在当前的市场环境下...",
              competitive_edge: "作为一家专注与...",
              product_strategy: "针对当前的市场环境...",
              case_analysis: "通过对公司案例流程进行...",
            },
            {
              sort_id: 3,
              sort_name: "概念",
              sort_desc:"商业流程自动化的概念主要指的是利用先进的技术手段，如软件、工具、平台等，将企业中原本需要人工执行的一系列复杂、重复性的商业流程进行自动化处理。这包括了对数据的收集、处理、分析和决策，以及流程中的各个环节的自动化执行和监控。",
              name: "祥瑞家居",
              background: "是一家专生产...",
              market_analysis: "在当前的市场环境下...",
              competitive_edge: "作为一家专注与...",
              product_strategy: "针对当前的市场环境...",
              case_analysis: "通过对公司案例流程进行...",
            },
            {
              sort_id: 5,
              sort_name: "技术",
              sort_desc: "工作流技术是商业流程自动化的核心。它定义了一组相互关联的任务或活动，按照特定的顺序和规则自动执行。工作流技术可以确保流程的标准化和一致性，减少人为错误，提高处理速度。",
              name: "祥瑞家居",
              background: "是一家专生产...",
              market_analysis: "在当前的市场环境下...",
              competitive_edge: "作为一家专注与...",
              product_strategy: "针对当前的市场环境...",
              case_analysis: "通过对公司案例流程进行...",
            },
            {
              sort_id: 4,
              sort_name: "最佳实践",
              sort_desc:"实践环节是至关重要的。通过实践，学生可以更好地理解和掌握理论知识，提升实际操作能力，为未来职业生涯奠定坚实基础。",
              name: "祥瑞家居",
              background: "是一家专生产...",
              market_analysis: "在当前的市场环境下...",
              competitive_edge: "作为一家专注与...",
              product_strategy: "针对当前的市场环境...",
              case_analysis: "通过对公司案例流程进行...",
            },
          ],
        },
      };
    },
  },
  //  课程数据
  {
    url: "/vue-admin-template/course/list",
    type: "post",
    response: (_) => {
      return {
        code: 20000,
        data: {
          list: [
            {
              sort_id: 1,
              sort_name: "基础知识",
              course_id: 1,
              course_teacher: "李昊",
              cover_image_url: "",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 1,
            },
            {
              sort_id: 2,
              sort_name: "基础知识",
              course_id: 2,
              course_teacher: "李昊",
              cover_image_url: "",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 2,
            },
            {
              sort_id: 3,
              sort_name: "基础知识",
              course_id: 3,
              course_teacher: "李昊",
              cover_image_url: "",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 3,
            },
            {
              sort_id: 5,
              sort_name: "基础知识",
              course_id: 4,
              course_teacher: "李昊",
              cover_image_url: "",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 1,
            },
            {
              sort_id: 4,
              sort_name: "基础知识",
              course_id: 5,
              course_teacher: "李昊",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 1,
            },
            {
              sort_id: 6,
              sort_name: "基础知识",
              course_id: 6,
              course_teacher: "李昊",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 1,
            },
            {
              sort_id: 7,
              sort_name: "基础知识",
              course_id: 7,
              course_teacher: "李昊",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 1,
            },
          ],
        },
      };
    },
  },
  // 单个删除资源
  {
    url: "/vue-admin-template/course/delete",
    type: "post",
    response: (config) => {
      

      return {
        code: 20000,
        data: info,
      };
    },
  },
  // 删除多个资源
  {
    url: "/vue-admin-template/course/mul_delete",
    type: "post",
    response: (config) => {
      

      return {
        code: 20000,
        data: info,
      };
    },
  },
  // 添加资源信息
  {
    url: "/vue-admin-template/course/add",
    type: "post",
    response: (config) => {
      

      return {
        code: 20000,
        data: info,
      };
    },
  },
  // 添加教学资源分类
  {
    url: "/vue-admin-template/course/sort/add",
    type: "post",
    response: (_) => {
      return {
        code: 20000,
        data: {
          list: [
            {
              sort_id: 1,
              sort_name: "基础知识",
              course_id: 1,
              course_teacher: "李昊",
              cover_image_url: "",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 1,
            },
            {
              sort_id: 2,
              sort_name: "基础知识",
              course_id: 2,
              course_teacher: "李昊",
              cover_image_url: "",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 2,
            },
            {
              sort_id: 3,
              sort_name: "基础知识",
              course_id: 3,
              course_teacher: "李昊",
              cover_image_url: "",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 3,
            },
            {
              sort_id: 5,
              sort_name: "基础知识",
              course_id: 4,
              course_teacher: "李昊",
              cover_image_url: "",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 1,
            },
            {
              sort_id: 4,
              sort_name: "基础知识",
              course_id: 5,
              course_teacher: "李昊",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 1,
            },
            {
              sort_id: 6,
              sort_name: "基础知识",
              course_id: 6,
              course_teacher: "李昊",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 1,
            },
            {
              sort_id: 7,
              sort_name: "基础知识",
              course_id: 7,
              course_teacher: "李昊",
              course_name: "基本介绍",
              file_type: "视频",
              start_time:"2022-01-10",
              status: 1,
            },
          ],
        },
      };
    },
  },
];
